package com.youhome.service.response;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by chen365 on 2018/06/15.
 */
@Data
@ApiModel
public class SchoolAttendanceAreaResult {
    @ApiModelProperty(notes = "学校名称")
    private String name;

    @ApiModelProperty(notes = "最低年级")
    private String grade_low;

    @ApiModelProperty(notes = "最高年级")
    private String grade_high;

    @ApiModelProperty(notes = "是否有小学")
    private Boolean has_elementary;

    @ApiModelProperty(notes = "是否有初中")
    private Boolean has_middle;

    @ApiModelProperty(notes = "是否有高中")
    private Boolean has_high;

    @JsonIgnore
    @ApiModelProperty(notes = "学校出勤区ID")
    private String attendance_area_id;

    @ApiModelProperty(notes = "纬度")
    private Double lat;

    @ApiModelProperty(notes = "经度")
    private Double lng;

    @ApiModelProperty(notes = "范围")
    private List<JSONObject> geometry;

}
